package com.study.sxc.Entity;

public class Machine {
    private Integer machineId; // 机器ID
    private Integer labId; // 所属机房ID
    private Integer typeId; // 机型ID
    private String status; // 机器状态
    private String machineName; // 机器名称

    public Machine() {}

    public Machine(Integer machineId, String machineName, Integer typeId, Integer labId, String status) {
        this.machineId = machineId;
        this.machineName = machineName;
        this.typeId = typeId;
        this.labId = labId;
        this.status = status;
    }

    public Integer getMachineId() { return machineId; }
    public void setMachineId(Integer machineId) { this.machineId = machineId; }
    public Integer getLabId() { return labId; }
    public void setLabId(Integer labId) { this.labId = labId; }
    public Integer getTypeId() { return typeId; }
    public void setTypeId(Integer typeId) { this.typeId = typeId; }
    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }
    public String getMachineName() { return machineName; }
    public void setMachineName(String machineName) { this.machineName = machineName; }

    @Override
    public String toString() {
        return "Machine{" +
                "machineId=" + machineId +
                ", machineName='" + machineName + '\'' +
                ", typeId=" + typeId +
                ", labId=" + labId +
                ", status='" + status + '\'' +
                '}';
    }
}